package it.kion.util.ui.ulog2.editor.scanners;

import it.kion.util.ui.ulog2.Log4jPlugin;
import it.kion.util.ui.ulog2.editor.TokenManager;

import org.eclipse.jface.text.rules.IToken;
import org.eclipse.jface.text.rules.RuleBasedScanner;

public class CommentScanner extends RuleBasedScanner
{
   public CommentScanner(TokenManager tokenManager)
   {
      IToken commentToken =
         tokenManager.getToken(Log4jPlugin.PREF_COMMENT_COLOR);
      setDefaultReturnToken(commentToken);
   }
}
